x86: return value of domain_pirq_to_irq() is signed
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Jun 2010 12:21:03 +0000 (13:21 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 15 Jun 2010 12:21:03 +0000 (13:21 +0100)
commita564071cae63590b61367eee1da32466a8e5cc39
treedd42f236aae89d0637178dbb16525100ca82993b
parent622c5d9ee4f9443a9632dc014f1fda27303aa77e
x86: return value of domain_pirq_to_irq() is signed

That value can, for forcibly unbound PIRQs, validly be negative, and
for the respective check to catch those cases (and prevent using these
negative values as array index), the respective variables must be of
signed type.

Signed-off-by: Jan Beulich <jbeulich@novell.com>
xen/arch/x86/irq.c